package com.example.clxy.service;

import com.example.clxy.entity.Platform;
import com.example.clxy.result.PageResult;
import com.example.clxy.result.WebRestResult;
import com.example.clxy.result.business.PageResult.PlatformPageResult;
import com.example.clxy.result.business.PlatformResult;

/**
 * @Author liuhaoqi
 * @Date 2020/8/4 20:07
 * @Version 1.0
 */
public interface PlatformService {
    WebRestResult addPlatform(Platform platform);

    WebRestResult updatePlatform(Platform platform);

    WebRestResult deletePlatform(String platformid);

    PageResult<PlatformPageResult> getPlatformList(String platformname, String platformintro, String credit, String platformhour, int page, int pagesize,String status);

    PlatformResult getPlatformById(String platformid);
}
